import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.FlowLayout;
import javax.swing.*;


public class OngletStatistique extends JPanel{
	private static final long serialVersionUID = 1L;

	public OngletStatistique(){
		this.setLayout(new BorderLayout());
		
		JPanel panelTableau = new JPanel();	
		panelTableau.setLayout(new BoxLayout(panelTableau, BoxLayout.PAGE_AXIS));
		JTable tableauDocument = new JTable(new ModeleStatiqueObjet());
		JScrollPane jScrollPaneTabDoc = new JScrollPane(tableauDocument);
		panelTableau.add(jScrollPaneTabDoc);
		
	 	JPanel panelBtn = new JPanel();
		panelBtn.setLayout(new FlowLayout());
		JButton nouveauBtn = new JButton("Nouveau");
		JButton rechercheBtn = new JButton("Recherche");
		panelBtn.add(nouveauBtn);
		panelBtn.add(rechercheBtn);
		
		this.add(panelTableau, BorderLayout.CENTER);
		this.add(panelBtn, BorderLayout.SOUTH);
	}
}
